package VN.EDU.IMIC.DEVELOPER.NGUYENTHUYOANH_Arr06;

public class Models {
	
	public void SapXepDiemTang(Student []s)
	{
		
		for(int i=0;i<s.length-1;i++)
			for(int j=i+1;j<s.length;j++)
			{
				if(s[i].getDiemSV()<s[j].getDiemSV())
				{
					
					HoanViSV(s[i], s[j]);
					
				}
					
			}
	}
	public void HoanViSV(Student s1,Student s2)
	{
	
		
		Student temp=new Student(s1);
		s1=new Student (s2);
		s2=new Student(temp);
		
		
		
		
		
	}


}
